﻿<?xml version="1.0" encoding="utf-8" ?>
<!-- 
   Configuration options for vdbtool, db first scenario, with VitaBooks Postgres database. 
   Note: run extended unit tests before using this config file - this will create the database objects. 
-->
<Settings>
  <Provider>Postgres</Provider>
  <ConnectionString>Host=127.0.0.1;Port=5432;Database=VitaBooks;Pooling=true;Integrated Security=true</ConnectionString>
  <OutputPath>_bookEntities_Pg.cs</OutputPath><!-- Will go into bin folder. -->

  <Namespace>Vita.Samples.BooksGenerated</Namespace>
  <AppClassName>BooksEntityApp</AppClassName>
  <!-- List of schema names in database. If empty, all schemas are included. -->
  <Schemas>books</Schemas>
  <!--Comma-delimited list of DbFirstOptions enum values -->
  <Options>AutoOnGuidPrimaryKeys, AddOneToManyLists, GenerateConsoleAppCode </Options>
  <!-- AutoValues lists column/property names that are auto-values (automatically generated), so code generator will add 
     [Auto(AutoType.*)] attribute to these properties. 
     Comma-delited list of pairs <columnName>:<AutoType>  -->
  <AutoValues>CreatedOn:CreatedOn</AutoValues>
</Settings>